from django.conf.urls import  url

from . import  views
app_name = 'polls'
urlpatterns = [

    url(r'^$',views.index,name='index'),
    url(r'^(?P<pk>[0-9]+)/$', views.DetailView.as_view(), name='detail'),

    url(r'^(?P<question_id>[0-9]+)/vote/$', views.vote, name='vote'),
    url(r'^(?P<item_id>[0-9]+)/nums/$', views.choose_num, name='choose_num'),
    url(r'^(?P<pk>[0-9]+)/results/$', views.ResultsView.as_view(), name='results'),
    url(r'^(?P<item_id>[0-9]+)c/$',views.detail_count,name='detailV2'),
    url(r'^about$',views.about,name='about'),
    url(r'^custome1$',views.custome_first_step,name='custome1'),
    url(r'^custome2$',views.custome_second_step,name='custome2'),
    url(r'^custome3$',views.custome_third_step,name='custome3'),

]